Receive the Broadcast program with XML [on hold]
Posted
by
bitmez4
on Pro Webmasters
See other posts from Pro Webmasters
or by bitmez4
Published on 2013-10-19T12:05:24Z
Indexed on
2013/10/19
16:09 UTC
Read the original article
Hit count: 324
I have a channel publishing sites and I wanna get into the channel CNN broadcast program..
CNN broadcast the program here: (you can see in source - xml File)
http://tvprofil.net/xmltv/data/cnn.info/weekly_cnn.info_tvprofil.net.xml
How the data according to the time of withdrawal?
For example:
Now program: "bitmez's table"
next program: "stack's table" in 30 minute
Is this possible?
UPDATE 1 // -I can take the XML data but to all of XML file-
<?php
if(!$xml=simplexml_load_file('http://tvprofil.net/xmltv/data/cnn.info/weekly_cnn.info_tvprofil.net.xml')){
trigger_error('XML file -- read error',E_USER_ERROR);
}
echo 'X-';
foreach($xml as $programme){
echo 'Now: '.$programme->title.' <br/>';
}
?>
© Pro Webmasters or respective owner